package com.google.gwt.sample.contacts.client.action;

import com.google.gwt.sample.contacts.shared.ContactDetails;

import com.guit.client.command.action.Response;

import java.util.ArrayList;

public class GetContactDetailsResponse implements Response {

    public GetContactDetailsResponse() {
    }

    public void setContacts(ArrayList<ContactDetails> contacts) {
        this.contacts = contacts;
    }

    public ArrayList<ContactDetails> getContacts() {
        return contacts;
    }

    private ArrayList<ContactDetails> contacts;

    public GetContactDetailsResponse(ArrayList<ContactDetails> contacts) {
        this.contacts = contacts;
    }
}
